.class public Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private c:Landroid/widget/TextView;

.field private d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private e:Lcom/waiqin365/lightapp/view/NoNetView;

.field private f:Landroid/widget/RelativeLayout;

.field private g:Lcom/waiqin365/lightapp/returngoods/c/a;

.field private h:Lcom/waiqin365/lightapp/returngoods/a/a;

.field private i:Ljava/util/List;

.field private j:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->i:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->j:Ljava/util/List;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a:Landroid/widget/TextView;

    return-object v0
.end method

.method private a(Ljava/util/List;)V
    .locals 5

    if-nez p1, :cond_1

    const v0, 0x7f08065e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->showToast(Ljava/lang/String;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->g:Lcom/waiqin365/lightapp/returngoods/c/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->y:Ljava/util/List;

    invoke-static {p1, v0}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/util/List;Ljava/util/List;)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "selectedList"

    invoke-virtual {v0, v1, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "order"

    iget-object v2, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->g:Lcom/waiqin365/lightapp/returngoods/c/a;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v1

    const-string/jumbo v2, "close_activity"

    const/4 v3, 0x0

    const-class v4, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    invoke-virtual {v1, v2, v3, v4}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v1

    const-string/jumbo v2, "has_data"

    const-class v3, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsAddActy;

    invoke-virtual {v1, v2, v0, v3}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->finish()V

    goto :goto_0
.end method


# virtual methods
.method public a()V
    .locals 3

    const/16 v2, 0x8

    const v0, 0x7f0c0a68

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const v1, 0x7f08073a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->b:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0c0a69

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0a6a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v0, Lcom/waiqin365/lightapp/returngoods/a/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->j:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/returngoods/a/a;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->h:Lcom/waiqin365/lightapp/returngoods/a/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->h:Lcom/waiqin365/lightapp/returngoods/a/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/lightapp/returngoods/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/returngoods/d/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/returngoods/d/a;->d()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/returngoods/a/a;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->h:Lcom/waiqin365/lightapp/returngoods/a/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->e:Lcom/waiqin365/lightapp/view/NoNetView;

    const v0, 0x7f0c0a64

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->f:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0a66

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a:Landroid/widget/TextView;

    const v1, 0x7f08078d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public hasData(Lcom/fiberhome/gaea/client/a/c;)V
    .locals 2

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    instance-of v0, v0, Ljava/util/HashMap;

    if-eqz v0, :cond_1

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    if-eqz v0, :cond_0

    const-string/jumbo v1, "key"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->h:Lcom/waiqin365/lightapp/returngoods/a/a;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/returngoods/a/a;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->h:Lcom/waiqin365/lightapp/returngoods/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/returngoods/a/a;->notifyDataSetChanged()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/List;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a(Ljava/util/List;)V

    goto :goto_0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->finish()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->h:Lcom/waiqin365/lightapp/returngoods/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/returngoods/a/a;->c()Ljava/util/List;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a(Ljava/util/List;)V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0089 -> :sswitch_0
        0x7f0c008a -> :sswitch_0
        0x7f0c0a66 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 7

    const/16 v6, 0x8

    const/4 v5, 0x1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f0301f2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->setContentView(I)V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "RGAlanvantOrder"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/returngoods/c/a;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->g:Lcom/waiqin365/lightapp/returngoods/c/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->g:Lcom/waiqin365/lightapp/returngoods/c/a;

    if-nez v0, :cond_0

    const v0, 0x7f080615

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v5}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->finish()V

    :cond_0
    :try_start_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selected_list"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->i:Ljava/util/List;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->g:Lcom/waiqin365/lightapp/returngoods/c/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    const v0, 0x7f080625

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v5, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->g:Lcom/waiqin365/lightapp/returngoods/c/a;

    iget-object v3, v3, Lcom/waiqin365/lightapp/returngoods/c/a;->b:Ljava/lang/String;

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Landroid/text/SpannableStringBuilder;

    invoke-direct {v1, v0}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V

    new-instance v2, Landroid/text/style/ForegroundColorSpan;

    const-string/jumbo v3, "#5BADEB"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-direct {v2, v3}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

    const-string/jumbo v3, "["

    invoke-virtual {v0, v3}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    const-string/jumbo v4, "]"

    invoke-virtual {v0, v4}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    const/16 v4, 0x21

    invoke-virtual {v1, v2, v3, v0, v4}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->g:Lcom/waiqin365/lightapp/returngoods/c/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->y:Ljava/util/List;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->g:Lcom/waiqin365/lightapp/returngoods/c/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->y:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gtz v0, :cond_3

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->f:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->e:Lcom/waiqin365/lightapp/view/NoNetView;

    const v1, 0x7f0806db

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->b(Ljava/lang/String;)V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->h:Lcom/waiqin365/lightapp/returngoods/a/a;

    new-instance v1, Lcom/waiqin365/lightapp/returngoods/g;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/returngoods/g;-><init>(Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/returngoods/a/a;->a(Lcom/waiqin365/lightapp/product/c/a;)V

    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->i:Ljava/util/List;

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->j:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->g:Lcom/waiqin365/lightapp/returngoods/c/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/returngoods/c/a;->y:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->i:Ljava/util/List;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->h:Lcom/waiqin365/lightapp/returngoods/a/a;

    iget-object v1, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->i:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/returngoods/a/a;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->a:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f08078d

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->i:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CRGRelavantOrderProductsActy;->h:Lcom/waiqin365/lightapp/returngoods/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/returngoods/a/a;->notifyDataSetChanged()V

    goto :goto_2
.end method
